import requests


class IHRMlogin:

    @classmethod
    def irhm_login(cls, body):
        url = 'http://ihrm-test.itheima.net/api/sys/login'
        header = {"Content-Type": "application/json"}
        login = requests.post(url, headers=header, json=body)
        return login




